package com.item.dao.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class RecommendMediaExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public RecommendMediaExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andDateIsNull() {
            addCriterion("date is null");
            return (Criteria) this;
        }

        public Criteria andDateIsNotNull() {
            addCriterion("date is not null");
            return (Criteria) this;
        }

        public Criteria andDateEqualTo(String value) {
            addCriterion("date =", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateNotEqualTo(String value) {
            addCriterion("date <>", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateGreaterThan(String value) {
            addCriterion("date >", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateGreaterThanOrEqualTo(String value) {
            addCriterion("date >=", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateLessThan(String value) {
            addCriterion("date <", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateLessThanOrEqualTo(String value) {
            addCriterion("date <=", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateLike(String value) {
            addCriterion("date like", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateNotLike(String value) {
            addCriterion("date not like", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateIn(List<String> values) {
            addCriterion("date in", values, "date");
            return (Criteria) this;
        }

        public Criteria andDateNotIn(List<String> values) {
            addCriterion("date not in", values, "date");
            return (Criteria) this;
        }

        public Criteria andDateBetween(String value1, String value2) {
            addCriterion("date between", value1, value2, "date");
            return (Criteria) this;
        }

        public Criteria andDateNotBetween(String value1, String value2) {
            addCriterion("date not between", value1, value2, "date");
            return (Criteria) this;
        }

        public Criteria andImgIsNull() {
            addCriterion("img is null");
            return (Criteria) this;
        }

        public Criteria andImgIsNotNull() {
            addCriterion("img is not null");
            return (Criteria) this;
        }

        public Criteria andImgEqualTo(String value) {
            addCriterion("img =", value, "img");
            return (Criteria) this;
        }

        public Criteria andImgNotEqualTo(String value) {
            addCriterion("img <>", value, "img");
            return (Criteria) this;
        }

        public Criteria andImgGreaterThan(String value) {
            addCriterion("img >", value, "img");
            return (Criteria) this;
        }

        public Criteria andImgGreaterThanOrEqualTo(String value) {
            addCriterion("img >=", value, "img");
            return (Criteria) this;
        }

        public Criteria andImgLessThan(String value) {
            addCriterion("img <", value, "img");
            return (Criteria) this;
        }

        public Criteria andImgLessThanOrEqualTo(String value) {
            addCriterion("img <=", value, "img");
            return (Criteria) this;
        }

        public Criteria andImgLike(String value) {
            addCriterion("img like", value, "img");
            return (Criteria) this;
        }

        public Criteria andImgNotLike(String value) {
            addCriterion("img not like", value, "img");
            return (Criteria) this;
        }

        public Criteria andImgIn(List<String> values) {
            addCriterion("img in", values, "img");
            return (Criteria) this;
        }

        public Criteria andImgNotIn(List<String> values) {
            addCriterion("img not in", values, "img");
            return (Criteria) this;
        }

        public Criteria andImgBetween(String value1, String value2) {
            addCriterion("img between", value1, value2, "img");
            return (Criteria) this;
        }

        public Criteria andImgNotBetween(String value1, String value2) {
            addCriterion("img not between", value1, value2, "img");
            return (Criteria) this;
        }

        public Criteria andMusicTitleIsNull() {
            addCriterion("music_title is null");
            return (Criteria) this;
        }

        public Criteria andMusicTitleIsNotNull() {
            addCriterion("music_title is not null");
            return (Criteria) this;
        }

        public Criteria andMusicTitleEqualTo(String value) {
            addCriterion("music_title =", value, "musicTitle");
            return (Criteria) this;
        }

        public Criteria andMusicTitleNotEqualTo(String value) {
            addCriterion("music_title <>", value, "musicTitle");
            return (Criteria) this;
        }

        public Criteria andMusicTitleGreaterThan(String value) {
            addCriterion("music_title >", value, "musicTitle");
            return (Criteria) this;
        }

        public Criteria andMusicTitleGreaterThanOrEqualTo(String value) {
            addCriterion("music_title >=", value, "musicTitle");
            return (Criteria) this;
        }

        public Criteria andMusicTitleLessThan(String value) {
            addCriterion("music_title <", value, "musicTitle");
            return (Criteria) this;
        }

        public Criteria andMusicTitleLessThanOrEqualTo(String value) {
            addCriterion("music_title <=", value, "musicTitle");
            return (Criteria) this;
        }

        public Criteria andMusicTitleLike(String value) {
            addCriterion("music_title like", value, "musicTitle");
            return (Criteria) this;
        }

        public Criteria andMusicTitleNotLike(String value) {
            addCriterion("music_title not like", value, "musicTitle");
            return (Criteria) this;
        }

        public Criteria andMusicTitleIn(List<String> values) {
            addCriterion("music_title in", values, "musicTitle");
            return (Criteria) this;
        }

        public Criteria andMusicTitleNotIn(List<String> values) {
            addCriterion("music_title not in", values, "musicTitle");
            return (Criteria) this;
        }

        public Criteria andMusicTitleBetween(String value1, String value2) {
            addCriterion("music_title between", value1, value2, "musicTitle");
            return (Criteria) this;
        }

        public Criteria andMusicTitleNotBetween(String value1, String value2) {
            addCriterion("music_title not between", value1, value2, "musicTitle");
            return (Criteria) this;
        }

        public Criteria andMusicFileIsNull() {
            addCriterion("music_file is null");
            return (Criteria) this;
        }

        public Criteria andMusicFileIsNotNull() {
            addCriterion("music_file is not null");
            return (Criteria) this;
        }

        public Criteria andMusicFileEqualTo(String value) {
            addCriterion("music_file =", value, "musicFile");
            return (Criteria) this;
        }

        public Criteria andMusicFileNotEqualTo(String value) {
            addCriterion("music_file <>", value, "musicFile");
            return (Criteria) this;
        }

        public Criteria andMusicFileGreaterThan(String value) {
            addCriterion("music_file >", value, "musicFile");
            return (Criteria) this;
        }

        public Criteria andMusicFileGreaterThanOrEqualTo(String value) {
            addCriterion("music_file >=", value, "musicFile");
            return (Criteria) this;
        }

        public Criteria andMusicFileLessThan(String value) {
            addCriterion("music_file <", value, "musicFile");
            return (Criteria) this;
        }

        public Criteria andMusicFileLessThanOrEqualTo(String value) {
            addCriterion("music_file <=", value, "musicFile");
            return (Criteria) this;
        }

        public Criteria andMusicFileLike(String value) {
            addCriterion("music_file like", value, "musicFile");
            return (Criteria) this;
        }

        public Criteria andMusicFileNotLike(String value) {
            addCriterion("music_file not like", value, "musicFile");
            return (Criteria) this;
        }

        public Criteria andMusicFileIn(List<String> values) {
            addCriterion("music_file in", values, "musicFile");
            return (Criteria) this;
        }

        public Criteria andMusicFileNotIn(List<String> values) {
            addCriterion("music_file not in", values, "musicFile");
            return (Criteria) this;
        }

        public Criteria andMusicFileBetween(String value1, String value2) {
            addCriterion("music_file between", value1, value2, "musicFile");
            return (Criteria) this;
        }

        public Criteria andMusicFileNotBetween(String value1, String value2) {
            addCriterion("music_file not between", value1, value2, "musicFile");
            return (Criteria) this;
        }

        public Criteria andMusicSingerIsNull() {
            addCriterion("music_singer is null");
            return (Criteria) this;
        }

        public Criteria andMusicSingerIsNotNull() {
            addCriterion("music_singer is not null");
            return (Criteria) this;
        }

        public Criteria andMusicSingerEqualTo(String value) {
            addCriterion("music_singer =", value, "musicSinger");
            return (Criteria) this;
        }

        public Criteria andMusicSingerNotEqualTo(String value) {
            addCriterion("music_singer <>", value, "musicSinger");
            return (Criteria) this;
        }

        public Criteria andMusicSingerGreaterThan(String value) {
            addCriterion("music_singer >", value, "musicSinger");
            return (Criteria) this;
        }

        public Criteria andMusicSingerGreaterThanOrEqualTo(String value) {
            addCriterion("music_singer >=", value, "musicSinger");
            return (Criteria) this;
        }

        public Criteria andMusicSingerLessThan(String value) {
            addCriterion("music_singer <", value, "musicSinger");
            return (Criteria) this;
        }

        public Criteria andMusicSingerLessThanOrEqualTo(String value) {
            addCriterion("music_singer <=", value, "musicSinger");
            return (Criteria) this;
        }

        public Criteria andMusicSingerLike(String value) {
            addCriterion("music_singer like", value, "musicSinger");
            return (Criteria) this;
        }

        public Criteria andMusicSingerNotLike(String value) {
            addCriterion("music_singer not like", value, "musicSinger");
            return (Criteria) this;
        }

        public Criteria andMusicSingerIn(List<String> values) {
            addCriterion("music_singer in", values, "musicSinger");
            return (Criteria) this;
        }

        public Criteria andMusicSingerNotIn(List<String> values) {
            addCriterion("music_singer not in", values, "musicSinger");
            return (Criteria) this;
        }

        public Criteria andMusicSingerBetween(String value1, String value2) {
            addCriterion("music_singer between", value1, value2, "musicSinger");
            return (Criteria) this;
        }

        public Criteria andMusicSingerNotBetween(String value1, String value2) {
            addCriterion("music_singer not between", value1, value2, "musicSinger");
            return (Criteria) this;
        }

        public Criteria andContentIsNull() {
            addCriterion("content is null");
            return (Criteria) this;
        }

        public Criteria andContentIsNotNull() {
            addCriterion("content is not null");
            return (Criteria) this;
        }

        public Criteria andContentEqualTo(String value) {
            addCriterion("content =", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotEqualTo(String value) {
            addCriterion("content <>", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentGreaterThan(String value) {
            addCriterion("content >", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentGreaterThanOrEqualTo(String value) {
            addCriterion("content >=", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentLessThan(String value) {
            addCriterion("content <", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentLessThanOrEqualTo(String value) {
            addCriterion("content <=", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentLike(String value) {
            addCriterion("content like", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotLike(String value) {
            addCriterion("content not like", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentIn(List<String> values) {
            addCriterion("content in", values, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotIn(List<String> values) {
            addCriterion("content not in", values, "content");
            return (Criteria) this;
        }

        public Criteria andContentBetween(String value1, String value2) {
            addCriterion("content between", value1, value2, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotBetween(String value1, String value2) {
            addCriterion("content not between", value1, value2, "content");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeIsNull() {
            addCriterion("modify_time is null");
            return (Criteria) this;
        }

        public Criteria andModifyTimeIsNotNull() {
            addCriterion("modify_time is not null");
            return (Criteria) this;
        }

        public Criteria andModifyTimeEqualTo(Date value) {
            addCriterion("modify_time =", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeNotEqualTo(Date value) {
            addCriterion("modify_time <>", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeGreaterThan(Date value) {
            addCriterion("modify_time >", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("modify_time >=", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeLessThan(Date value) {
            addCriterion("modify_time <", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeLessThanOrEqualTo(Date value) {
            addCriterion("modify_time <=", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeIn(List<Date> values) {
            addCriterion("modify_time in", values, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeNotIn(List<Date> values) {
            addCriterion("modify_time not in", values, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeBetween(Date value1, Date value2) {
            addCriterion("modify_time between", value1, value2, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeNotBetween(Date value1, Date value2) {
            addCriterion("modify_time not between", value1, value2, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andImgZjIsNull() {
            addCriterion("img_zj is null");
            return (Criteria) this;
        }

        public Criteria andImgZjIsNotNull() {
            addCriterion("img_zj is not null");
            return (Criteria) this;
        }

        public Criteria andImgZjEqualTo(String value) {
            addCriterion("img_zj =", value, "imgZj");
            return (Criteria) this;
        }

        public Criteria andImgZjNotEqualTo(String value) {
            addCriterion("img_zj <>", value, "imgZj");
            return (Criteria) this;
        }

        public Criteria andImgZjGreaterThan(String value) {
            addCriterion("img_zj >", value, "imgZj");
            return (Criteria) this;
        }

        public Criteria andImgZjGreaterThanOrEqualTo(String value) {
            addCriterion("img_zj >=", value, "imgZj");
            return (Criteria) this;
        }

        public Criteria andImgZjLessThan(String value) {
            addCriterion("img_zj <", value, "imgZj");
            return (Criteria) this;
        }

        public Criteria andImgZjLessThanOrEqualTo(String value) {
            addCriterion("img_zj <=", value, "imgZj");
            return (Criteria) this;
        }

        public Criteria andImgZjLike(String value) {
            addCriterion("img_zj like", value, "imgZj");
            return (Criteria) this;
        }

        public Criteria andImgZjNotLike(String value) {
            addCriterion("img_zj not like", value, "imgZj");
            return (Criteria) this;
        }

        public Criteria andImgZjIn(List<String> values) {
            addCriterion("img_zj in", values, "imgZj");
            return (Criteria) this;
        }

        public Criteria andImgZjNotIn(List<String> values) {
            addCriterion("img_zj not in", values, "imgZj");
            return (Criteria) this;
        }

        public Criteria andImgZjBetween(String value1, String value2) {
            addCriterion("img_zj between", value1, value2, "imgZj");
            return (Criteria) this;
        }

        public Criteria andImgZjNotBetween(String value1, String value2) {
            addCriterion("img_zj not between", value1, value2, "imgZj");
            return (Criteria) this;
        }

        public Criteria andImgGn2IsNull() {
            addCriterion("img_gn2 is null");
            return (Criteria) this;
        }

        public Criteria andImgGn2IsNotNull() {
            addCriterion("img_gn2 is not null");
            return (Criteria) this;
        }

        public Criteria andImgGn2EqualTo(String value) {
            addCriterion("img_gn2 =", value, "imgGn2");
            return (Criteria) this;
        }

        public Criteria andImgGn2NotEqualTo(String value) {
            addCriterion("img_gn2 <>", value, "imgGn2");
            return (Criteria) this;
        }

        public Criteria andImgGn2GreaterThan(String value) {
            addCriterion("img_gn2 >", value, "imgGn2");
            return (Criteria) this;
        }

        public Criteria andImgGn2GreaterThanOrEqualTo(String value) {
            addCriterion("img_gn2 >=", value, "imgGn2");
            return (Criteria) this;
        }

        public Criteria andImgGn2LessThan(String value) {
            addCriterion("img_gn2 <", value, "imgGn2");
            return (Criteria) this;
        }

        public Criteria andImgGn2LessThanOrEqualTo(String value) {
            addCriterion("img_gn2 <=", value, "imgGn2");
            return (Criteria) this;
        }

        public Criteria andImgGn2Like(String value) {
            addCriterion("img_gn2 like", value, "imgGn2");
            return (Criteria) this;
        }

        public Criteria andImgGn2NotLike(String value) {
            addCriterion("img_gn2 not like", value, "imgGn2");
            return (Criteria) this;
        }

        public Criteria andImgGn2In(List<String> values) {
            addCriterion("img_gn2 in", values, "imgGn2");
            return (Criteria) this;
        }

        public Criteria andImgGn2NotIn(List<String> values) {
            addCriterion("img_gn2 not in", values, "imgGn2");
            return (Criteria) this;
        }

        public Criteria andImgGn2Between(String value1, String value2) {
            addCriterion("img_gn2 between", value1, value2, "imgGn2");
            return (Criteria) this;
        }

        public Criteria andImgGn2NotBetween(String value1, String value2) {
            addCriterion("img_gn2 not between", value1, value2, "imgGn2");
            return (Criteria) this;
        }

        public Criteria andImgGn3IsNull() {
            addCriterion("img_gn3 is null");
            return (Criteria) this;
        }

        public Criteria andImgGn3IsNotNull() {
            addCriterion("img_gn3 is not null");
            return (Criteria) this;
        }

        public Criteria andImgGn3EqualTo(String value) {
            addCriterion("img_gn3 =", value, "imgGn3");
            return (Criteria) this;
        }

        public Criteria andImgGn3NotEqualTo(String value) {
            addCriterion("img_gn3 <>", value, "imgGn3");
            return (Criteria) this;
        }

        public Criteria andImgGn3GreaterThan(String value) {
            addCriterion("img_gn3 >", value, "imgGn3");
            return (Criteria) this;
        }

        public Criteria andImgGn3GreaterThanOrEqualTo(String value) {
            addCriterion("img_gn3 >=", value, "imgGn3");
            return (Criteria) this;
        }

        public Criteria andImgGn3LessThan(String value) {
            addCriterion("img_gn3 <", value, "imgGn3");
            return (Criteria) this;
        }

        public Criteria andImgGn3LessThanOrEqualTo(String value) {
            addCriterion("img_gn3 <=", value, "imgGn3");
            return (Criteria) this;
        }

        public Criteria andImgGn3Like(String value) {
            addCriterion("img_gn3 like", value, "imgGn3");
            return (Criteria) this;
        }

        public Criteria andImgGn3NotLike(String value) {
            addCriterion("img_gn3 not like", value, "imgGn3");
            return (Criteria) this;
        }

        public Criteria andImgGn3In(List<String> values) {
            addCriterion("img_gn3 in", values, "imgGn3");
            return (Criteria) this;
        }

        public Criteria andImgGn3NotIn(List<String> values) {
            addCriterion("img_gn3 not in", values, "imgGn3");
            return (Criteria) this;
        }

        public Criteria andImgGn3Between(String value1, String value2) {
            addCriterion("img_gn3 between", value1, value2, "imgGn3");
            return (Criteria) this;
        }

        public Criteria andImgGn3NotBetween(String value1, String value2) {
            addCriterion("img_gn3 not between", value1, value2, "imgGn3");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}